/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package doan.quanlycanbo.portlet.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the giaoducphothong service. Represents a row in the &quot;giaoducphothong&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link doan.quanlycanbo.portlet.model.impl.giaoducphothongModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link doan.quanlycanbo.portlet.model.impl.giaoducphothongImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a giaoducphothong model instance should use the {@link giaoducphothong} interface instead.
 * </p>
 *
 * @author Nguyen Tuan Vinh
 * @see giaoducphothong
 * @see doan.quanlycanbo.portlet.model.impl.giaoducphothongImpl
 * @see doan.quanlycanbo.portlet.model.impl.giaoducphothongModelImpl
 * @generated
 */
public interface giaoducphothongModel extends BaseModel<giaoducphothong> {
	/**
	 * Gets the primary key of this giaoducphothong.
	 *
	 * @return the primary key of this giaoducphothong
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this giaoducphothong
	 *
	 * @param pk the primary key of this giaoducphothong
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the magdpt of this giaoducphothong.
	 *
	 * @return the magdpt of this giaoducphothong
	 */
	public long getMagdpt();

	/**
	 * Sets the magdpt of this giaoducphothong.
	 *
	 * @param magdpt the magdpt of this giaoducphothong
	 */
	public void setMagdpt(long magdpt);

	/**
	 * Gets the group id of this giaoducphothong.
	 *
	 * @return the group id of this giaoducphothong
	 */
	public long getGroupId();

	/**
	 * Sets the group id of this giaoducphothong.
	 *
	 * @param groupId the group id of this giaoducphothong
	 */
	public void setGroupId(long groupId);

	/**
	 * Gets the company id of this giaoducphothong.
	 *
	 * @return the company id of this giaoducphothong
	 */
	public long getCompanyId();

	/**
	 * Sets the company id of this giaoducphothong.
	 *
	 * @param companyId the company id of this giaoducphothong
	 */
	public void setCompanyId(long companyId);

	/**
	 * Gets the language id of this giaoducphothong.
	 *
	 * @return the language id of this giaoducphothong
	 */
	@AutoEscape
	public String getLanguageId();

	/**
	 * Sets the language id of this giaoducphothong.
	 *
	 * @param languageId the language id of this giaoducphothong
	 */
	public void setLanguageId(String languageId);

	/**
	 * Gets the tengdpt of this giaoducphothong.
	 *
	 * @return the tengdpt of this giaoducphothong
	 */
	@AutoEscape
	public String getTengdpt();

	/**
	 * Sets the tengdpt of this giaoducphothong.
	 *
	 * @param tengdpt the tengdpt of this giaoducphothong
	 */
	public void setTengdpt(String tengdpt);

	/**
	 * Gets a copy of this giaoducphothong as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public giaoducphothong toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(giaoducphothong giaoducphothong);

	public int hashCode();

	public String toString();

	public String toXmlString();
}